
project(ui_components)

include_directories(
${PROJECT_SOURCE_DIR}/
${PROJECT_SOURCE_DIR}/../
${PROJECT_SOURCE_DIR}/../../3rdparty/
${PROJECT_SOURCE_DIR}/../../3rdparty/cef_wrapper)

file(GLOB SRCS
	./*.h
	./*.cpp
	./cef_control/app/*.h
	./cef_control/app/*.cpp
	./cef_control/control/*.h
	./cef_control/control/*.cpp
	./cef_control/handler/*.h
	./cef_control/handler/*.cpp
	./cef_control/manager/*.h
	./cef_control/manager/*.cpp
	./cef_control/util/*.h
	./cef_control/util/*.cpp
	./menu/*.h
	./menu/*.cpp
	./modal_wnd/*.h
	./modal_wnd/*.cpp
	./msgbox/*.h
	./msgbox/*.cpp
	./shadow_wnd/*.h
	./shadow_wnd/*.cpp
	./toast/*.h
	./toast/*.cpp
	./windows_manager/*.h
	./windows_manager/*.cpp
)

add_definitions(-DUNICODE -D_UNICODE -DSUPPORT_CEF)

set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../../lib)

add_library(${PROJECT_NAME} STATIC ${SRCS})